package com.example.demo.redis.mapper;

import com.example.demo.model.Material;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * Created by 86151 on 2018/12/26.
 */
@Mapper
public interface RedisMapper {
    @Select("select * from Material")
    List<Material> findAll();
}
